/************************************************************************
* Template class, store graphics resources. 
* Author : Shaolan
* Version : 1.0
* Website : http://shaolan.net
*/
#include "background.hpp"

#ifndef LIBGE_HEADER
	#include <libge/libge.h>
	#define LIBGE_HEADER 1
#endif

class Template {
	protected:
		ge_Image ** resource;
		Background * background;
	public:
		enum TPLID { GRID,  RED , BLUE , GREEN , END };
		static Template * DEFAULT();
		Template();
		~Template();
		ge_Image * getResource(int) const;
		Background * getBackground() const;
		void setResource(int,ge_Image*);
		void setResource(int,std::string);
		void setBackground(Background *);
		void draw();
};